WPO\WC\PDF_Invoices\Documents\Order_Document_Methods D

Total Complexity 254
Dependencies 1
Dependents 0
Total lines 1,235
Lines of code 839
Logical lines of code 454
Comment lines 226
Methods 68
Properties 0

Methods 68

Method Rating Maintainability Complexity Lines of code
get_thumbnail()
B
43 24 38
get_tax_rate()
B
41 20 47
get_woocommerce_totals()
A
43 16 40
get_order_items()
A
40 12 54
get_custom_field()
A
52 13 22
get_tax_rates_from_order()
A
51 11 25
get_product_attribute()
A
53 8 22
get_shipping_address()
S
53 7 23
get_order_notes()
S
53 7 23
order_notes()
S
56 6 17
get_shipping_notes()
S
57 6 15
ships_to_different_address()
S
51 5 28
get_formatted_item_price()
S
59 6 12
custom_field()
S
53 5 24
get_billing_address()
S
58 5 16
is_order_prop()
S
43 2 54
get_order_discount()
S
54 4 22
get_order_fees()
S
56 4 18
get_order_taxes()
S
56 4 16
get_tax_rate_by_id()
S
59 4 14
get_thumbnail_id()
S
63 4 11
show_shipping_address()
S
67 4 7
show_billing_address()
S
67 4 7
get_phone()
S
65 4 8
document_display_date()
S
60 3 14
get_order_shipping()
S
58 2 15
get_shipping_phone()
S
68 3 7
get_order_subtotal()
S
63 3 9
get_order_grand_total()
S
58 2 15
get_billing_email()
S
64 3 9
get_payment_date()
S
62 3 10
get_tax_rate_ids()
S
62 2 11
get_display_date_label()
S
63 2 11
get_order_date()
S
62 2 11
get_payment_method()
S
63 2 10
get_refund_parent()
S
68 2 8
get_order_number()
S
64 2 10
calculate_tax_rate()
S
64 2 9
document_notes()
S
68 2 8
get_document_notes()
S
69 2 7
invoice_date()
S
67 2 8
get_invoice_date()
S
66 2 8
invoice_number()
S
67 2 8
get_invoice_number()
S
66 2 8
format_price()
S
72 1 5
billing_email()
S
81 1 3
shipping_notes()
S
81 1 3
get_refund_parent_id()
S
81 1 3
wc_price()
S
79 1 3
billing_address()
S
81 1 3
get_billing_phone()
S
75 1 4
order_grand_total()
S
75 1 4
shipping_phone()
S
80 1 3
billing_phone()
S
81 1 3
order_date()
S
81 1 3
order_discount()
S
75 1 4
shipping_address()
S
81 1 3
order_shipping()
S
75 1 4
product_attribute()
S
79 1 3
order_subtotal()
S
75 1 4
get_current_date()
S
78 1 3
current_date()
S
81 1 3
payment_method()
S
81 1 3
payment_date()
S
81 1 3
get_shipping_method()
S
74 1 4
shipping_method()
S
81 1 3
order_number()
S
81 1 3
is_refund()
S
80 1 3